package com.orange.common.binding

import androidx.databinding.BindingAdapter
import com.google.android.material.button.MaterialButton

object MaterialButtonAdapter {
    @JvmStatic
    @BindingAdapter("icon")
    fun icon(button: MaterialButton, resId: Int) {
        button.setIconResource(resId)
    }
}